package com.steve.xfood.service;

import com.steve.xfood.dto.OrderDTO;

/**
 * 买家服务
 * 用于安全性逻辑判断
 * @author steve
 * @date 2020/5/11 13:33
 */
public interface BuyerService {

    /**
     * 查询买家订单详情
     * @param orderId
     * @param openid
     * @return
     */
    public OrderDTO findOrderOne(String orderId, String openid);

    /**
     * 买家取消订单
     * @param orderId
     * @param openid
     */
    public void orderCancel(String orderId, String openid);
}
